/**
 * Created by ZE-C on 2017/8/12.
 */


import { Injectable } from '@angular/core';
import { Subject }    from 'rxjs/Subject';
import {strictEqual} from "assert";

@Injectable()
export class MissionService {

  private publishSubject = new Subject<string>();

  publishObservable = this.publishSubject.asObservable();


  publish(para){

    this.publishSubject.next(para);

  }

}




